﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.BaseLibrary.Domain;

namespace DepartmentWork.Migrator.Data
{
    public class MENU_ROLE : IEntity
    {
        /// <summary>
        /// 菜单-权限ID
        /// </summary>
        [DisplayName("菜单-权限ID"), Required, Key]
        public int MENU_ROLE_ID { get; set; }

        /// <summary>
        /// 菜单ID
        /// </summary>
        [DisplayName("菜单ID"), Required]
        public int MENU_ID { get; set; }

        /// <summary>
        /// 权限ID
        /// </summary>
        [DisplayName("权限ID"), Required]
        public int ROLE_ID { get; set; }
    }
}
